let isDev = import.meta.env.MODE === 'development'

let proxy = isDev ? 'proxy' : ''
let relative_path = isDev ? 'relative_path' : ''

let path_platform // 前端网站 网关
let path_admin // 运维管理系统 网关
let path_evaluate // 技术成熟度 网关

let isLocal = import.meta.env.VITE_BASE_API.includes('192.168')
// if (isLocal) {
//   path_platform = proxy
// } else {
// }
path_platform = proxy + 'platform'
path_admin = proxy + 'system'
path_evaluate = proxy + 'evaluate'

let geoJson_platform = isDev ? 'geo' : ''

// 后续可能有其他网关
export { relative_path, path_platform, path_admin, path_evaluate, geoJson_platform }
